package com.xiaoxin.dubbo.api;

import com.xiaoxin.model.domain.User;

/**
 * @author xiaoxiaode
 * @date 2021-08-28-14:51
 **/
public interface UserApi {

    User findByMobile(String mobile);

    Long save(User user);

    void savePhone(User user,String phone);

    void update(User user);

    User findById(Long userId);

    User findByhuanxinId(String huanxinId);
}
